<?php

    define('DB_HOST', 'localhost');
    define('DB_USER', 'root');
    define('DB_PASS', '123456');
    define('DB_NAME', 'review_app');
    define('DB_PORT', 3316);  // 定义端口号

    $conn = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME, DB_PORT);

    // if ($conn->connect_error) {
    //     die("连接失败: " . $conn->connect_error);
    // }

    // echo "连接成功!";

?>
